<table  border="1" width="80%" align="center">
<?php
  for ($i = 1; $i <= 15; $i++)
  {
    $color = ($i%2==0)?'yellow':'pink';
?>
    <tr style="background:<?=$color?>">
      <td align="center">ROW-<?=$i?></td>
    </tr>
<?php
  }
?>
</table>
